class QueryEntity {
    constructor({
                    domain = '',
                } = {}) {
        this.doamin = domain;
    }
}

const app = new BasicTableVue({
    data: function () {
        return {
            api: rDomainTrafficApi,
            columns: [
                new TableColumn({
                    prop: 'domain',
                    title: '域名',
                    align: 'center',
                }),
                new TableColumn({
                    prop: 'accessCount',
                    title: '访问流量',
                    align: 'center',
                }),
                new TableColumn({
                    prop: 'fstRecTime',
                    title: '首次登记时间',
                    align: 'center',
                    formatter: TableColumn.datetimeFormat,
                }),
                new TableColumn({
                    prop: 'lastActiveTime',
                    title: '最后活跃时间',
                    align: 'center',
                    formatter: TableColumn.datetimeFormat,
                }),
            ],
        }
    },
    methods: {
        createForm() {
            return new QueryEntity();
        },
    },
})